package com.showcai.web.controller.news;


import com.github.pagehelper.PageInfo;
import com.showcai.module.vo.News;
import com.showcai.webcore.controller.base.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * Created by Baggio on 2018-6-22.
 */
@Controller
@RequestMapping("news")
public class NewsController extends BaseController {
  /*  @Autowired
    UserService userService;*/

    @RequestMapping("/getNewsList")
    @ResponseBody
    public List<News> getNewsList() {
       // List<News> newsList = userService.getNewsList(null);
        return null;
    }

    @RequestMapping( "/getNewsList1")
    @ResponseBody
    public PageInfo getNewsList1() {
        //PageInfo pageInfo = userService.getNewsList1(null);
        return null;
    }
}
